<g:if test="${flash.message}">
   <div class="message">${flash.message}</div>
 </g:if>
<h2 class="preto">SetLists</h2>


			<div class="list">
				<div id="setListContainer">
                <table>
                    <tbody>
					
                    <g:each in="${setListInstanceList}" status="i" var="setListInstance">
						
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">						
							<td style="width:40px">
								<img id="fotoMusica0" width="40px" height="40px" class="fotoMusica" 	src="http://i2.ytimg.com/vi/${fieldValue(bean: musicaInstance, field: "url")}/default.jpg">
							</td>
						
								<td><b>${fieldValue(bean: setListInstance, field: "titulo")}</b>
									<br />
									<br />
										<g:remoteLink controller="avaliacao" action="saveAvaliacaoSetList" params="[legal:'true']" id="${setListInstance.id}" update="direitaSetLists"><img src="${resource(dir:'images',file:'legal.jpg')}" /></g:remoteLink>
										<g:remoteLink controller="avaliacao" action="saveAvaliacaoSetList" params="[legal:'false']" id="${setListInstance.id}" update="direitaSetLists"><img src="${resource(dir:'images',file:'chato.jpg')}" /></g:remoteLink>
										<g:remoteLink action="deleteSetList" id="${setListInstance.id}" update="direitaSetLists"><img src="${resource(dir:'images',file:'xis.jpg')}" /></g:remoteLink>
								</td>
                        </tr>
                    </g:each>
					
                    </tbody>
					
                </table>
				</div>
            </div>